import React from 'react'
import { MEDIA_TYPE_ENUM } from '@CONSTANTS/common'

export interface CustomI18NITF {
  zh: string;
  en: string;
}

export type LanguageType = 'zh' | 'en'

export interface StringMapITF {
  [key: string]: string
}
export interface StringMapAnyITF {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  [key: string]: any
}
export interface StringMapReactITF {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  [key: string]: React.FC<any>
}

export interface ThirdUrlITF {
  H5Path: string;
  WmpPath: string;
  wxAppId: string;
}

export interface FileITF {
  FileName: string;
  Length: number;
  MediaType: MEDIA_TYPE_ENUM
  Title: CustomI18NITF
}

export interface ImageFile {
  path: string
  size: number
  type?: string
  originalFileObj?: File
}
